package com.aididi.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class IndexController {

    @RequestMapping("/welcome")
    String welcome(Map<String,Object> map){
        map.put("msg","hello world !!!");
        return "model";
    }
}
